package client;

public class CommandExecException extends Exception {

    private final String command;
    private final Exception reason;

    public CommandExecException(String command, Exception e) {
        this.command = command;
        this.reason = e;
    }

    public String getCommand() {
        return command;
    }

    public Exception getReason() {
        return reason;
    }
}
